using System;
using System.Configuration;
using System.Xml;

namespace umlungu.engineX.webX.thoughts.Admin.form {
	/// <summary>
	/// umlungu engineX web framework, handlerX class.
	/// </summary>
	public class Topic : FormX
	{
		/// <summary>Constructor</summary>
		public Topic() : base("form", "Topic") {
		}
		/// <summary>
		/// Method _Process:: calls delegate(s)
		/// </summary>
		protected override void _Process(profileX profile, contentX content) {
			switch (Process) {
				case "Add":		ProcessResult(new ProcessFormResult(Handlers.processTopicAdd));		break;
				default:		ProcessResult(new ProcessFormResult(Handlers.processFormNoAction));	break;
			}
		}
	}
}
		
